<template>
  <div class="form-preview-group form-design-select">
    <label>
      {{_displayName}} 
      <span class="form-preview-notNull" v-if="field.isNull == 0">*</span>
    </label>
    <div class="form-preview-mock">
      <p class="form-preview-control form-preview-withIcon">
        <i class="iconfont icon-fdn-select"></i>
      </p>
    </div>
  </div>
</template>

<script>
import { previewProps } from '@src/component/form/components/props';
import translate from '@src/component/form/mixin/translate.js'

export default {
  name: 'form-label-preview',
  mixins: [translate],
  props: previewProps
}
</script>